package com.huawei.appgallery.foundation.card.base.bean;

import androidx.annotation.NonNull;
import com.huawei.appgallery.jsonkit.api.JsonBean;
import java.io.Serializable;

public class DependAppBean extends JsonBean implements Serializable {
    private static final long serialVersionUID = 3323800178257890527L;
    private String appId_;
    private String detailId_;
    private String downUrl_;
    private String icon_;
    private int maple_ = 0;
    public int minVersionCode_;
    public String name_;
    public String package_;
    public int packingType_;
    private String sha256_;
    private long size_;
    private String trace_;
    public String versionCode_;

    public BaseDistCardBean ˋ() {
        BaseDistCardBean baseDistCardBean = new BaseDistCardBean();
        baseDistCardBean.ˉ(this.appId_);
        baseDistCardBean.ˋ(this.name_);
        baseDistCardBean.ॱ(this.detailId_);
        baseDistCardBean.ˏॱ(this.downUrl_);
        baseDistCardBean.ˋॱ(this.sha256_);
        baseDistCardBean.ˏˎ(this.package_);
        baseDistCardBean.ॱ(this.size_);
        baseDistCardBean.ˊˋ(this.trace_);
        baseDistCardBean.ˋᐝ(this.icon_);
        baseDistCardBean.ॱ(this.detailId_);
        baseDistCardBean.ॱᐝ(this.versionCode_);
        baseDistCardBean.ˎ(this.maple_);
        baseDistCardBean.ͺ(this.packingType_);
        return baseDistCardBean;
    }

    @NonNull
    public AppInfoBean ˎ() {
        AppInfoBean appInfoBean = new AppInfoBean();
        appInfoBean.ʽ(this.appId_);
        appInfoBean.ˏ(this.name_);
        appInfoBean.ᐝ(this.detailId_);
        appInfoBean.ʼ(this.downUrl_);
        appInfoBean.ॱॱ(this.sha256_);
        appInfoBean.ˋ(this.package_);
        appInfoBean.ʻ(this.size_ + "");
        appInfoBean.ˊ(this.icon_);
        appInfoBean.ᐝ(this.detailId_);
        appInfoBean.ॱ(this.versionCode_);
        appInfoBean.ˋ(this.maple_);
        appInfoBean.ʻ(this.packingType_);
        return appInfoBean;
    }
}
